<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: UIS Drug Treatment study data</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="R.css">
</head><body>

<table width="100%" summary="page for uis"><tr><td>uis</td><td align="right">R Documentation</td></tr></table>

<h2>UIS Drug Treatment study data</h2>

<h3>Description</h3>

<p>There are 628 data points in the original data, 575 of which have no missing values.
</p>
<p>Variable descriptions:
</p>

<table summary="Rd table">
<tr>
 <td align="left">
Variable  </td><td align="left"> Description                     </td><td align="left"> Codes/Values                   </td>
</tr>
<tr>
 <td align="left">
ID        </td><td align="left"> Identification Code             </td><td align="left"> 1 - 628                        </td>
</tr>
<tr>
 <td align="left">
AGE       </td><td align="left"> Age at Enrollment               </td><td align="left"> Years                          </td>
</tr>
<tr>
 <td align="left">
BECK      </td><td align="left"> Beck DepressionScore            </td><td align="left"> 0.000 - 54.000                 </td>
</tr>
<tr>
 <td align="left">
HC        </td><td align="left"> Heroin/Cocaine Use During       </td><td align="left"> 1 = Heroin &amp; Cocaine           </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left"> 3 Months Prior to Admission     </td><td align="left"> 2 = Heroin Only                </td>
</tr>
<tr>
 <td align="left"> 
          </td><td align="left">                                 </td><td align="left"> 3 = Cocaine Only               </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left">                                 </td><td align="left"> 4 = Neither Heroin nor Cocaine </td>
</tr>
<tr>
 <td align="left">
IV        </td><td align="left"> History of IV Drug Use          </td><td align="left"> 1 = Never                      </td>
</tr>
<tr>
 <td align="left"> 
          </td><td align="left">                                 </td><td align="left"> 2 = Previous                   </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left">                                 </td><td align="left"> 3 = Recent                     </td>
</tr>
<tr>
 <td align="left">
NDT       </td><td align="left"> Number of Prior Drug Treatments </td><td align="left"> 0 - 40                         </td>
</tr>
<tr>
 <td align="left">
RACE      </td><td align="left"> Subject's Race                  </td><td align="left"> 0 = White                      </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left">                                 </td><td align="left"> 1 = Non-White                  </td>
</tr>
<tr>
 <td align="left">
TREAT     </td><td align="left"> Treatment Randomization         </td><td align="left"> 0 = Short                      </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left"> Assignment                      </td><td align="left"> 1 = Long                       </td>
</tr>
<tr>
 <td align="left">
SITE      </td><td align="left"> Treatment Site                  </td><td align="left"> 0 = A                          </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left">                                 </td><td align="left"> 1 = B                          </td>
</tr>
<tr>
 <td align="left">
LEN.T     </td><td align="left"> Length of Stay in Treatment     </td><td align="left"> Days                           </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left"> (Admission Date to Exit Date)   </td><td align="left">                                </td>
</tr>
<tr>
 <td align="left"> 
TIME      </td><td align="left"> Time to Drug Relapse            </td><td align="left"> Days                           </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left"> (Measured from Admission Date)  </td><td align="left">                                </td>
</tr>
<tr>
 <td align="left">
CENSOR    </td><td align="left"> Event for Treating Lost to      </td><td align="left"> 1 = Returned to Drugs          </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left"> Follow-Up as Returned to Drugs  </td><td align="left">     or Lost to Follow-Up       </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left">                                 </td><td align="left"> 0 = Otherwise                  </td>
</tr>
<tr>
 <td align="left">
Y         </td><td align="left"> log of TIME                     </td><td align="left">                                </td>
</tr>
<tr>
 <td align="left">  
ND1       </td><td align="left"> Component of NDT                </td><td align="left">                                </td>
</tr>
<tr>
 <td align="left">  
ND2       </td><td align="left"> Component of NDT                </td><td align="left">                                </td>
</tr>
<tr>
 <td align="left">
LNDT      </td><td align="left">                                 </td><td align="left">                                </td>
</tr>
<tr>
 <td align="left"> 
FRAC      </td><td align="left"> Compliance fraction             </td><td align="left"> LEN.T/90 for short trt         </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left">                                 </td><td align="left"> LEN.T/180 for long trt         </td>
</tr>
<tr>
 <td align="left">
IV3       </td><td align="left"> Recent IV use                   </td><td align="left"> 1 = Yes                        </td>
</tr>
<tr>
 <td align="left">
          </td><td align="left">                                 </td><td align="left"> 0 = No 

</td>
</tr>

</table>



<h3>Usage</h3>

<pre>data(uis)</pre>


<h3>Format</h3>

<p>A data frame with dimension 575 by 18.</p>


<h3>Source</h3>

<p>Table 1.3 of Hosmer,D.W. and Lemeshow, S. (1998) </p>


<h3>References</h3>

<p>Hosmer,D.W. and Lemeshow, S. (1998) Applied Survival
Analysis: Regression Modeling of Time to Event Data, John Wiley and Sons Inc.,
New York, NY</p>


</body></html>
